package com.cter.thinkingInSpringBoot.to;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@ApiModel(value="book对象",description="新增&更新图书对象说明")
public class BookTO {
	@ApiModelProperty(name="name",value="书名",required=true,example="《田园交响曲》")
	@Setter @Getter
	private String name;
	@ApiModelProperty(name="author",value="作者",required=true,example="纪德")
	@Setter @Getter
	private String author;
}
